package cn.edu.ssm.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.edu.ssm.entity.Media;
import cn.edu.ssm.entity.Type;

public interface HomeMapper {
	
	// 获取最新媒体素材
	public List<Media> getNewMedias(String mediatype);
	
	public List<Media> getMediaList(String pHOTO_TYPE);

	public List<Media> getPhotoView(@Param("pHOTO_TYPE") String pHOTO_TYPE, @Param("medianum") String medianum);

	public List<Type> getTypeList();

	public List<Map<String, Object>> getStatistic();


}
